<template>
	<div class="topContainer" >
      <div class="Logo">医药行业文章发布系统</div>
	  <div>
		  <el-button type="text" icon="el-icon-s-tools">{{sysuser.UserName}}</el-button>
		  <el-button type="text" icon="el-icon-delete">退出</el-button>
		 </div>
	
	</div>
</template>

<script>
	export default{
		name:'top',
		data(){
			return{
			sysuser:JSON.parse(sessionStorage.getItem('sysuser'))
			}
		}
	}
</script>

<style>
.topContainer
{
	display: flex;
	justify-content:space-between;
}
.topContainer .Logo
{
	text-align: left;
	font-size: 30px;

}
	
</style>
